﻿using System;
using System.Windows.Forms;

namespace OrionApplication
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (OrionApplication.OrionLib.Orion.OrionConfBase.InitSql())
            {
                OrionApplication.OrionForm.OrionConnexionForm oc = new OrionApplication.OrionForm.OrionConnexionForm();
                oc.ShowDialog();
                if (oc.cont)
                    Application.Run(new Main());
            }
        }
    }
}
